* {
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(200deg, #deecdd, #74ebaa);
}

.container {
  width: 300px;
  height: 640px;
}
.container .img-box {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transition: 0.5s;
}
.container img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  background-color: #646464;
  transition: 0.5s;
}
.container:hover .img-box {
  transform: rotate(-30deg) skew(25deg) scale(0.8);
}
.container:hover img:nth-child(1) {
  transform: translate(40px, -40px);
  opacity: 0.4;
  transition-delay: 0.5s;
}
.container:hover img:nth-child(2) {
  transform: translate(80px, -80px);
  opacity: 0.6;
  transition-delay: 0.5s;
}
.container:hover img:nth-child(3) {
  transform: translate(120px, -120px);
  opacity: 0.8;
  transition-delay: 0.5s;
}
.container:hover img:nth-child(4) {
  transform: translate(160px, -160px);
  opacity: 1;
  transition-delay: 0.5s;
}/*# sourceMappingURL=index.css.map */